<?php

namespace App\Entity;

use Illuminate\Database\Eloquent\Model;

class User extends Model {

    protected $table = 'user';
    protected $primaryKey = 'id';
    public $timestamps = false;

    public function contects()
    {
        return $this->hasMany('App\Entity\Contect', 'user_id', 'id');
    }

}
